const dbserver = require('../dao/dbSever')
//用户详情
exports.userDeta = (req, res) => {
    let id = req.body.id;
    dbserver.UserDetail(id, res)
}
// 用户信息修改
exports.userUpdate = (req, res) => {
    let data = req.body;


    dbserver.userUpdate(data, res)
}
//修改好友昵称
exports.friendMarkName = (req, res) => {
    let data = req.body;
    dbserver.friendMarkName(data, res)
}

//获取好友昵称
exports.GetfriendMarkName = (req, res) => {
    let data = req.body;
    dbserver.GetfriendMarkName(data, res)
}